package com.ssm.pre.service;

import com.ssm.util.object.InputObject;
import com.ssm.util.object.OutputObject;

public interface SystemService {

	//查询一级菜单
	void queryMenuByOneList(InputObject inputObject, OutputObject outputObject) throws Exception;

	//查询一级菜单，用作select下拉框选择
	void queryMenuByOneSelect(InputObject inputObject, OutputObject outputObject) throws Exception;

	//根据parentId查询二级菜单
	void queryMenuByTwoList(InputObject inputObject, OutputObject outputObject) throws Exception;
	
	//根据ID查询一条信息
	void queryMenuById(InputObject inputObject, OutputObject outputObject) throws Exception;
	
	//添加菜单
	void addMenu(InputObject inputObject, OutputObject outputObject) throws Exception;

	//根据ID进行删除操作
	void deleteMenuById(InputObject inputObject, OutputObject outputObject) throws Exception;

	//根据ID修改一条菜单信息
	void updateMenuById(InputObject inputObject, OutputObject outputObject) throws Exception;


}
